package com.ueffort.ad;

import android.app.Activity;
import android.content.Intent;

import com.ueffort.ad.action.PreloadAction;
import com.ueffort.ad.action.ShowAction;
import com.unity3d.player.UnityPlayer;

public interface AdProvider {
    boolean onActivityResult(int requestCode, int resultCode, Intent data);

    void Init(String appId, Activity activity, UnityPlayer unityPlayer);

    void SetDebugMode(boolean isTest);

    void Preload(AdSDK.AdType adType, String unitId, PreloadAction action);

    boolean IsLoaded(AdSDK.AdType adType, String unitId);

    void Show(AdSDK.AdType adType, String unitId, ShowAction action);
}